package br.ufmg.dcc.simulesspl;

import java.io.File;
import java.io.FileInputStream;
import java.util.Properties;

public class GameConfiguration {
	public static boolean CHAOS_MODE = false;
	
	static {
		Properties properties = new Properties();
		try {
			properties.load(new FileInputStream(new File("src/br/ufmg/dcc/simulesspl/GameConfiguration.properties")));
			CHAOS_MODE = Boolean.parseBoolean((String) properties.get("CHAOS_MODE"));
		} catch (Exception e) {
			e.printStackTrace();
			System.err.println("Something went wrong while loading the properties, but nobody died.");
		}
	}
}
